public class test {
    public static void main(String[] args) {
        myStack stack = new myStack(5);
        stack.push(1);
        stack.push(2);
        stack.push(3);
        System.out.println(stack.getTop());
        System.out.println(stack.pop());
        System.out.println(stack.getTop());
        System.out.println(stack.peek());
    }
}
